package com.bootdo.common.dao;

import com.bootdo.common.domain.GenTableDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 代码生成业务表
 * @author rhgs
 * @email rhgs@163.com
 * @date 2024-01-22 14:44:59
 */
@Mapper
public interface GenTableDao {


	public GenTableDO selectGenTableByName(String tableName);

	GenTableDO get(Long tableId);
	
	List<GenTableDO> list(Map<String,Object> map);

	public List<GenTableDO> selectDbTableListByNames(String[] tableNames);
	List<GenTableDO> selectDbTableList(Map<String,Object> map);

	int count(Map<String,Object> map);
	int countSelectDbTableList(Map<String,Object> map);

	int save(GenTableDO genTable);
	
	int update(GenTableDO genTable);
	
	int remove(Long table_id);
	
	int batchRemove(Long[] tableIds);
}
